<table class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="3">页面访问</th>
		</tr> 
	</thead> 
	 <tbody> 
	 	<tr> 
			<td  width="30%">请求路径</td> 
			<td  width="70%" colspan="2">user/control/point.htm</td>
		</tr>
		<tr> 
			<td>请求方式</td> 
			<td colspan="2">GET</td>
		</tr>
		<tr> 
			<td>请求参数</td> 
			<td>页码</td> 
			<td>
				变量：page<br>
				类型：Integer<br>
				是否必填：否
			</td>
		</tr>
		<tr> 
			<td rowspan="3">返回值</td> 
			<td>积分日志分页</td> 
			<td>
				变量：pageView<br>
				类型：<a style="color: #317ee7" onclick="anchorJump('#anchor_10'); return false;">PageView</a>
			</td>
		</tr> 
		<tr> 
			<td>用户</td> 
			<td>
				变量：user<br>
				类型：<a style="color: #317ee7" onclick="anchorJump('#anchor_40'); return false;">User</a>
			</td>
		</tr>
		<tr> 
			<td>奖励积分信息</td> 
			<td>
				变量：rewardPointInfo<br>
				类型：<a style="color: #317ee7" onclick="anchorJump('#anchor_80'); return false;">RewardPointInfo</a>
			</td>
		</tr>
	</tbody> 
</table>

<table class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="3">页面访问 - AJAX方式</th>
		</tr> 
	</thead> 
	 <tbody> 
	 	<tr> 
			<td  width="30%">请求路径</td> 
			<td  width="70%" colspan="2">user/control/point.htm</td>
		</tr>
		<tr> 
			<td>请求方式</td> 
			<td colspan="2">GET</td>
		</tr>
		<tr> 
			<td>自定义请求头</td> 
			<td colspan="2">协议头：X-Requested-With  值：XMLHttpRequest</td>
		</tr>
		<tr> 
			<td>请求参数</td> 
			<td>页码</td> 
			<td>
				变量：page<br>
				类型：Integer<br>
				是否必填：否
			</td>
		</tr>
		<tr> 
			<td width="30%" rowspan="4">请求成功返回</td> 
			<td width="30%" rowspan="4">JSON格式值 类型:Map&ltString,Object></td>
			<td width="40%">键参数：pageView<br>值内容说明：积分日志分页<br>值类型：<a style="color: #317ee7" onclick="anchorJump('#anchor_10'); return false;">PageView</a></td> 
		</tr>
		<tr> 
			<td>键参数：user<br>值内容说明：用户<br>值类型：<a style="color: #317ee7" onclick="anchorJump('#anchor_40'); return false;">User</a></td>
		</tr>	
	</tbody> 
</table>

<table id="anchor_10" class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="3">分页 PageView</th>
		</tr> 
		<tr> 
			<th width="30%">变量</th> 
			<th width="30%">类型</th>
			<th width="40%">说明</th> 
		</tr> 
	</thead> 
	<tbody> 
		<tr> 
			<td>records</td> 
			<td>List&lt<a style="color: #317ee7" onclick="anchorJump('#anchor_20'); return false;">PointLog</a>></td>
			<td>数据展示列表</td>
		</tr>
		<tr> 
			<td>pageIndex</td> 
			<td><a style="color: #317ee7" onclick="anchorJump('#anchor_30'); return false;">PageIndex</a></td>
			<td>页码索引</td>
		</tr>
		<tr> 
			<td>totalpage</td> 
			<td>long</td>
			<td>总页数</td>
		</tr>
		<tr> 
			<td>maxresult</td> 
			<td>long</td>
			<td>每页显示记录数</td>
		</tr>
		<tr> 
			<td>currentpage</td> 
			<td>long</td>
			<td>当前页</td>
		</tr>
		<tr> 
			<td>pagecount</td> 
			<td>long</td>
			<td>页码显示总数</td>
		</tr>
		<tr> 
			<td>onUrl</td> 
			<td>String</td>
			<td>上一页URL</td>
		</tr>
		<tr> 
			<td>nextUrl</td> 
			<td>String</td>
			<td>下一页URL</td>
		</tr>
	</tbody> 
</table>
<table id="anchor_30" class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="3">分页索引 PageIndex</th>
		</tr> 
		<tr> 
			<th width="30%">变量</th> 
			<th width="30%">类型</th>
			<th width="40%">说明</th> 
		</tr> 
	</thead> 
	<tbody> 
		<tr> 
			<td>startindex</td> 
			<td>long</td>
			<td>分页开始索引</td>
		</tr>
		<tr> 
			<td>endindex</td> 
			<td>long</td>
			<td>分页结束索引</td>
		</tr>
	</tbody> 
</table>
<table id="anchor_20" class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="3">积分日志 PointLog</th>
		</tr> 
		<tr> 
			<th width="30%">变量</th> 
			<th width="30%">类型</th>
			<th width="40%">说明</th> 
		</tr> 
	</thead> 
	<tbody> 
		<tr> 
			<td>id</td> 
			<td>String</td>
			<td>Id</td>
		</tr>
		<tr> 
			<td>module</td> 
			<td>Integer</td>
			<td>模块 100.话题  200.评论  300.回复 400.积分解锁话题隐藏内容 500.会员卡订单支付 600.账户充值 700.问题 800.答案 900.答案回复 1000.悬赏积分 1100.采纳答案 1200.调整赏金</td>
		</tr>
		<tr> 
			<td>parameterId</td> 
			<td>Long</td>
			<td>参数Id    话题Id ,评论Id,回复Id 问题Id ,答案Id,答案回复Id </td>
		</tr>
		<tr> 
			<td>operationUserType</td> 
			<td>Integer</td>
			<td>操作用户类型  0:系统  1: 员工  2:会员</td>
		</tr>
		<tr> 
			<td>operationUserName</td> 
			<td>String</td>
			<td>操作用户名称</td>
		</tr>
		<tr> 
			<td>userName</td> 
			<td>String</td>
			<td>用户名称</td>
		</tr>
		<tr> 
			<td>pointState</td> 
			<td>int</td>
			<td>积分状态  1:账户存入  2:账户支出</td>
		</tr>
		<tr> 
			<td>point</td> 
			<td>Long</td>
			<td>积分</td>
		</tr>
		<tr> 
			<td>times</td> 
			<td>Date</td>
			<td>时间</td>
		</tr>
		<tr> 
			<td>remark</td> 
			<td>String</td>
			<td>备注</td>
		</tr>
	</tbody> 
</table>
<table id="anchor_40" class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="3">用户 user</th>
		</tr> 
		<tr> 
			<th width="30%">变量</th> 
			<th width="30%">类型</th>
			<th width="40%">说明</th> 
		</tr> 
	</thead> 
	<tbody> 
		<tr> 
			<td>id</td> 
			<td>long</td>
			<td>Id</td>
		</tr>
		<tr> 
			<td>userName</td> 
			<td>String</td>
			<td>会员用户名</td>
		</tr>
		<tr> 
			<td>nickname</td> 
			<td>String</td>
			<td>呢称</td>
		</tr>
		<tr> 
			<td>email</td> 
			<td>String</td>
			<td>邮箱地址</td>
		</tr>
		<tr> 
			<td>issue</td> 
			<td>String</td>
			<td>密码提示问题</td>
		</tr>
		<tr> 
			<td>registrationDate</td> 
			<td>Date</td>
			<td>注册日期</td>
		</tr>
		<tr> 
			<td>point</td> 
			<td>Long</td>
			<td>当前积分</td>
		</tr>
		<tr> 
			<td>gradeId</td> 
			<td>Integer</td>
			<td>等级Id</td>
		</tr>
		<tr> 
			<td>gradeName</td> 
			<td>String</td>
			<td>会员等级</td>
		</tr>
	</tbody> 
</table>

<table id="anchor_80" class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="3">奖励积分信息 rewardPointInfo</th>
		</tr> 
		<tr> 
			<th width="30%">变量</th> 
			<th width="30%">类型</th>
			<th width="40%">说明</th> 
		</tr> 
	</thead> 
	<tbody> 
		<tr> 
			<td>topic_rewardPoint</td> 
			<td>long</td>
			<td>发表话题奖励积分</td>
		</tr>
		<tr> 
			<td>comment_rewardPoint</td> 
			<td>long</td>
			<td>发表评论奖励积分</td>
		</tr>
		<tr> 
			<td>reply_rewardPoint</td> 
			<td>long</td>
			<td>发表回复奖励积分</td>
		</tr>
		<tr> 
			<td>question_rewardPoint</td> 
			<td>long</td>
			<td>提交问题奖励积分</td>
		</tr>
		<tr> 
			<td>answer_rewardPoint</td> 
			<td>long</td>
			<td>提交答案奖励积分</td>
		</tr>
		<tr> 
			<td>answerReply_rewardPoint</td> 
			<td>long</td>
			<td>提交答案回复奖励积分</td>
		</tr>
	</tbody> 
</table>

<h2 style="margin:0;padding:0; margin-top: 10px;">示例</h2>
<textarea name="exampleCode">
<#-- 积分  -->
现有积分：${user.point}

	
<#-- 积分日志 -->
<#if pageView.records?exists && pageView.records?size gt 0 >    
	<#list pageView.records as pointLog>
		<#-- 模块 -->
		<#if pointLog.module == 100>
			发表话题
		<#elseif pointLog.module == 200>
			发表评论
		<#elseif pointLog.module == 300>
			发表回复
		<#elseif pointLog.module == 400>
			积分购买话题
		</#if>					
		
		<#-- 收入/支出 -->
		<#if pointLog.pointState == 1>
			+
		<#elseif pointLog.pointState == 2>
			-
		</#if>
		${pointLog.point}
		
		<#-- 时间 -->
		${pointLog.times}
		<#-- 备注 -->
		${pointLog.remark}
	</#list>
</#if> 
<#if !pageView.records?exists || pageView.totalrecord == 0 > 
	还没有积分日志
</#if> 
</textarea>